/**
 * 登陆判断
 */
function init(){
		document.loginform.userid.focus;
	}
	function ckuserid(){
		var uid = document.getElementById("TxtUserName").value;
		if (uid == "") {
			document.getElementById("ckuid").innerHTML = "用户名不能为空!";
			return false;
		}else{
			document.getElementById("ckuid").innerHTML = "";
			return true;
		}
	}
	function ckpwd(){
		var upwd = document.getElementById("TxtPassword").value;
		if (upwd == "") {
			document.getElementById("ckupwd").innerHTML = "密码不能为空!";
			return false;
		}else{
			document.getElementById("ckupwd").innerHTML = "";
			return true;
		}
	}
	function checkall(){
		if (ckuserid() && ckpwd()) {
			return true;
		} else {
			alert("请您填好登录信息！");
			return false;
		}
		
	}